package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.AdvMembersmsg;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author ruoyi
 * @date 2024-06-04
 */
public interface AdvMembersmsgMapper
{

    @Delete("delete from  adv_membersmsg")
    public int clear();

    @Delete("delete from adv_membersmsg    where adv_members_id=#{advMembersId}")
    public int deleteByAdvMembersId(@Param("advMembersId") String advMembersId);
    /**
     * 查询【请填写功能名称】
     *
     * @param advMembersmsg 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    public AdvMembersmsg selectAdvMembersmsgByAdvMembersmsg(Long advMembersmsg);

    /**
     * 查询【请填写功能名称】列表
     *
     * @param advMembersmsg 【请填写功能名称】
     * @return 【请填写功能名称】集合
     */
    public List<AdvMembersmsg> selectAdvMembersmsgList(AdvMembersmsg advMembersmsg);

    /**
     * 新增【请填写功能名称】
     *
     * @param advMembersmsg 【请填写功能名称】
     * @return 结果
     */
    public int insertAdvMembersmsg(AdvMembersmsg advMembersmsg);

    /**
     * 修改【请填写功能名称】
     *
     * @param advMembersmsg 【请填写功能名称】
     * @return 结果
     */
    public int updateAdvMembersmsg(AdvMembersmsg advMembersmsg);

    /**
     * 删除【请填写功能名称】
     *
     * @param advMembersmsg 【请填写功能名称】主键
     * @return 结果
     */
    public int deleteAdvMembersmsgByAdvMembersmsg(Long advMembersmsg);

    /**
     * 批量删除【请填写功能名称】
     *
     * @param advMembersmsgs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAdvMembersmsgByAdvMembersmsgs(Long[] advMembersmsgs);
}
